package com.example.smartdoc.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class TestRest {


    /**
     * 测试
     *
     * @param name  名字
     * @return {@link String}
     */
    @GetMapping("test")
    public String test(@RequestParam String name) {
        return name;
    }

}
